﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using ICeFramework.Common.DataLayer;

namespace ICeFramework.Business.DataLayer
{
    public interface IEntityRow
    {
        EntityRowErrorCollection GetErrors();
        EntityObjectCollection Cells { get; }
        DataRow DataRow { get; }
        IEntity Entity { get; }

        IEntityObject this[EntityColumn column] { get; }
        IEntityObject this[int columnIndex] { get; }
        IEntityObject this[string columnName] { get; }
    }
}
